Google\Site_Kit\Modules\Analytics_4 D

Total Complexity 296
Dependencies 68
Dependents 8
Total lines 2,570
Lines of code 1,627
Logical lines of code 748
Comment lines 599
Methods 53
Properties 4

Methods 53

Method Rating Maintainability Complexity Lines of code
create_data_request()
D
4
91 535
register()
B
28
17 165
parse_data_response()
B
34 20 87
get_debug_fields()
B
35 14 90
get_custom_dimensions_data()
A
45 13 41
handle_provisioning_callback()
A
42 9 54
has_audience_site_kit_identifier()
A
55 11 19
set_available_audiences()
A
43 8 51
provision_property_webdatastream()
A
42 6 61
get_datapoint_definitions()
S
37 2 99
determine_google_tag_id_from_tag_ids()
S
56 7 19
get_audience_slug()
S
54 6 25
register_tag()
S
52 6 24
get_audience_type()
S
62 6 13
parse_webdatastreams_batch()
S
57 5 16
inline_conversion_reporting_events_detection()
S
60 5 12
print_tracking_opt_out()
S
53 4 24
create_property()
S
56 4 17
is_tracking_disabled()
S
62 5 10
get_site_kit_audiences()
S
62 5 10
check_service_entity_access()
S
58 3 17
is_connected()
S
59 3 15
sync_google_tag_settings()
S
62 3 12
filter_property_with_ids()
S
61 3 12
create_webdatastream()
S
55 2 21
is_adsense_connected()
S
68 3 7
filter_analytics_allow_tracking_disabled()
S
67 3 9
inline_resource_availability_dates_data()
S
64 2 11
setup_assets()
S
55 1 22
get_tag_id()
S
69 2 7
inline_custom_dimensions_data()
S
67 2 8
filter_account_with_ids()
S
66 2 8
filter_webdatastream_with_ids()
S
65 2 9
inline_tag_id_mismatch()
S
68 2 7
setup_services()
S
61 1 12
get_scopes()
S
80 1 3
on_activation()
S
76 1 4
on_deactivation()
S
70 1 7
get_tagmanager_service()
S
80 1 3
setup_info()
S
66 1 8
get_analyticsdata_service()
S
80 1 3
get_analyticsenhancedmeasurements_service()
S
80 1 3
get_tag_matchers()
S
81 1 3
get_measurement_id()
S
76 1 4
get_provisioning_redirect_uri()
S
77 1 4
get_analyticsadsenselinks_service()
S
80 1 3
get_google_tag_settings_for_measurement_id()
S
69 1 7
get_analyticsaudiences_service()
S
80 1 3
normalize_property_id()
S
80 1 3
normalize_account_id()
S
80 1 3
filter_web_datastreams()
S
68 1 8
setup_settings()
S
80 1 3
__construct()
S
68 1 6